package com.oa.fallback;

import com.oa.api.LeaveServiceApi;
import com.oa.po.Leave;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public class LeaveFallBack implements LeaveServiceApi {
    @Override
    public int addLeave(Leave leave) {
        return 0;
    }

    @Override
    public List<Leave> list_lever(Map map) {
        return null;
    }
}
